package com.jf.identity.entity;

import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

/**
 * 验证轨迹
 *
 * @author FCG
 */
public class VerifyTrace implements Serializable {
    private static final long serialVersionUID = 632725166428212599L;
    /**
     * PK
     */
    private String uid;
    /**
     * 验证项，1刷身份证；2指纹；3ID号验证；4人脸比对；5拍照；6人工审核
     * 验证项，1：刷身份证  2:身份证ID号验证3：人脸比对 31：人证比对 32：人照比对 4：指纹5:人工审核 (20180515)
     */
    @NotBlank(message = "验证项不能为空")
//    @Size(max = 1, message = "验证项不能超过1个字符")
    private String YZX;
    /**
     * 验证项结果, 1:通过  0：存疑  -1：不通过
     */
    @NotBlank(message = "验证项结果不能为空")
//    @Size(max = 2, message = "验证项结果不能超过2个字符")
    @Range(min = -1, max = 1, message = "验证项结果, 1:通过  0：存疑  -1：不通过")
    private String YZXJG;
    /**
     * 比对分数(数字型)
     */
    private String YZFZ;
    /**
     * 身份证号
     */
    private String SFZJH;
    /**
     * 准考证号
     */
    private String KSH;
    /**
     * 验证时间
     */
    private Date YZSJ;
    /**
     * 验证设备id
     */
    private String YZSB;
    /**
     * 考试信息
     */
    private ExamBaseParam examBaseParam;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getYZX() {
        return YZX;
    }

    public void setYZX(String YZX) {
        this.YZX = YZX;
    }

    public String getYZXJG() {
        return YZXJG;
    }

    public void setYZXJG(String YZXJG) {
        this.YZXJG = YZXJG;
    }

    public String getSFZJH() {
        return SFZJH;
    }

    public void setSFZJH(String SFZJH) {
        this.SFZJH = SFZJH;
    }

    public String getKSH() {
        return KSH;
    }

    public void setKSH(String KSH) {
        this.KSH = KSH;
    }


    public Date getYZSJ() {
        return YZSJ;
    }

    public void setYZSJ(Date YZSJ) {
        this.YZSJ = YZSJ;
    }

    public String getYZSB() {
        return YZSB;
    }

    public void setYZSB(String YZSB) {
        this.YZSB = YZSB;
    }

    public ExamBaseParam getExamBaseParam() {
        return examBaseParam;
    }

    public void setExamBaseParam(ExamBaseParam examBaseParam) {
        this.examBaseParam = examBaseParam;
    }

    public String getYZFZ() {
        return YZFZ;
    }

    public void setYZFZ(String YZFZ) {
        this.YZFZ = YZFZ;
    }
}
